package com.ruoyi.project.tickets.service;

import java.util.List;
import com.ruoyi.project.tickets.domain.OutStockDetails;
import com.ruoyi.project.tickets.domain.vo.OutStockDetailsVo;

/**
 * 出库详情Service接口
 * 
 * @author 孙山伟
 * @date 2023-07-01
 */
public interface IOutStockDetailsService 
{
    /**
     * 查询出库详情
     * 
     * @param id 出库详情ID
     * @return 出库详情
     */
    public OutStockDetails selectOutStockDetailsById(Long id);

    /**
     * 查询出库详情列表
     * 
     * @param outStockDetails 出库详情
     * @return 出库详情集合
     */
    public List<OutStockDetails> selectOutStockDetailsList(OutStockDetails outStockDetails);

    /**
     * 新增出库详情
     * 
     * @param outStockDetails 出库详情
     * @return 结果
     */
    public int insertOutStockDetails(OutStockDetails outStockDetails);

    /**
     * 修改出库详情
     * 
     * @param outStockDetails 出库详情
     * @return 结果
     */
    public int updateOutStockDetails(OutStockDetails outStockDetails);

    /**
     * 批量删除出库详情
     * 
     * @param updateTimes 需要删除的出库详情ID
     * @return 结果
     */
    public int deleteOutStockDetailsByIds(Long[] updateTimes);

    /**
     * 删除出库详情信息
     * 
     * @param updateTime 出库详情ID
     * @return 结果
     */
    public int deleteOutStockDetailsById(Long updateTime);

    List<OutStockDetailsVo> listByStockId(Long stockId);
}
